package com.ssm.pre.dao;

import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;


public interface UserDao {
	//查询管理员是否存在
	public Map<String, Object> queryAdminByLogin(Map<String, Object> map) throws Exception;
	
	//查询用户管理员列表
	public List<Map<String, Object>> queryAdminByList(Map<String, Object> map) throws Exception;

	//查询所有的菜单
	public List<Map<String, Object>> queryAllMenu(Map<String, Object> bean) throws Exception;

	//增加维修人员信息
	public void addServiceMan(Map<String, Object> map) throws Exception;

	//根据ID删除维修人员信息
	public void deleteServiceManById(Map<String, Object> map)throws Exception;

	//根据id修改维修人员
	public void updateServiceManById(Map<String, Object> map)throws Exception;

	//查询维修人员列表
	public List<Map<String, Object>> queryServiceManByList(Map<String, Object> map)throws Exception;

	//根据id查询维修人员
	public Map<String, Object> queryServiceMantOneById(Map<String, Object> map)throws Exception;

}
